package com.codi.bus.core.dao;

import com.codi.base.dao.BaseDAO;
import com.codi.base.dao.v2.GeneratedBaseDao;
import com.codi.bus.core.domain.FundWarehouseMapping;

import java.util.List;

/**
 * 亲，写个类注释呗
 * @author wangzhenhao
 * @date 2018-01-30 10:39
 */
public interface FundWarehouseMappingDao extends BaseDAO<FundWarehouseMapping> {
    int addMapping(FundWarehouseMapping mapping);
    int deleteMapping(Long mappingId);
    int updateMapping(FundWarehouseMapping mapping);

    List<FundWarehouseMapping> queryByWareHouseId(Long wareHouseId);

    FundWarehouseMapping queryOne(Long mappingId);
}
